/*
* 1.超级管理员 (Super Admin)
* 2.运营人员 (Ops Admin)
* 3.商品运营 (Product Manager)
* 4.客服人员 (Customer Service)
* 5.仓库人员 (Warehouer Manager)
* ......
* */

/*
*
* export const routeIds = [
    "dashboard",
    "product",
    "productList",
    "productCategory",
    "vt",
    "vtList",
    "vtEdit",
    "orderList",
    "customerService",
    "systemSetting",
    "userManagement",
    "productManagement",
    "productDetail",
    "employeeWelfare",
    "promotionStandard",
    "performanceAppraisal",
    "salaryManagement",
    "recruitmentManagement",
    "trainingManagement",
    "attendanceManagement",
    "dimissionManagement",
    "rewardPunishmentSystem",
    "socialSecurityFund",
    "contractManagement",
    "employeeTrainingRecords",
    "departmentManagement",
    "positionSetting",
    "attendanceStatistics"
]
*
*
* */
//true 最高权限
//[]  没有任何权限
//["xx1","xx2"]
export var roles = [
    {
        id : 1,
        name : "超级管理员",
        permission : true
    },
    {
        id : 2,
        name : "运营人员",
        permission :  [
            "dashboard",
            "product",
            "productList",
            "productCategory",
            "vt",
            "vtList",
            "vtEdit",
            "orderList",
        ]
    },
    {
        id : 3,
        name : "商品运营",
        permission :  [
            "customerService",
            "systemSetting",
            "userManagement",
            "productManagement",
            "productDetail",
            "employeeWelfare",
            "promotionStandard",
            "performanceAppraisal",
            "salaryManagement",
            "recruitmentManagement",
            "trainingManagement",
            "attendanceManagement",
            "dimissionManagement",
            "rewardPunishmentSystem",
            "socialSecurityFund",
            "contractManagement",
            "employeeTrainingRecords",
            "departmentManagement",
            "positionSetting",
            "attendanceStatistics"
        ]
    },
    {
        id : 4,
        name : "客服人员",
        permission :  [
            "dashboard",
            "product",
            "productList",
            "productCategory",
            "vt",
            "vtList",
            "vtEdit",
            "dimissionManagement",
            "rewardPunishmentSystem",
            "socialSecurityFund",
            "contractManagement",
            "employeeTrainingRecords",
            "departmentManagement",
            "positionSetting",
            "attendanceStatistics"
        ]
    },
    {
        id : 5,
        name : "仓库人员",
        permission :  [
            "dashboard",
            "product",
            "productList",
            "productCategory",
            "orderList",
            "customerService",
            "systemSetting",
            "userManagement",
            "productManagement",
            "productDetail",
            "employeeWelfare",
            "promotionStandard",
            "performanceAppraisal",
            "socialSecurityFund",
            "contractManagement",
            "employeeTrainingRecords",
            "departmentManagement",
            "positionSetting",
            "attendanceStatistics"
        ]
    },
]